package com.aaa.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @program: springdemo
 * @description:
 * @author: 肖安康
 * @create: 2023-04-10 19:20
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String sname;
    private Integer sage;
    private String gender;
    private Integer stuno;
    private Integer cid;
    @TableField(exist = false)
    private Cclass cclass;

}
